//
//  CommentModel.m
//  WuJieLive
//
//  Created by iMac on 2017/11/27.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import "CommentModel.h"

@implementation CommentModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (CGFloat)textHeight
{
    CGFloat height = [self.comment_contents boundingRectWithSize:CGSizeMake(kScreenWidth - 80, MAXFLOAT) options:NSStringDrawingUsesFontLeading | NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName :FontSize(13)} context:nil].size.height;
    return height;
}

@end
